package com.zx.service.goods.impl;

import com.zx.dao.goods.GoodsImgMapper;
import com.zx.dto.response.goods.GoodsImgDto;
import com.zx.enums.GoodsImgTypeEnums;
import com.zx.service.goods.GoodsImgService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author sunkai
 * @date 2022/8/3 0003 22:47
 * @mood zhou xun
 */
@Service
public class GoodsImgServiceImpl implements GoodsImgService {

    @Autowired
    private GoodsImgMapper goodsImgMapper;

    @Override
    public List<GoodsImgDto> queryList(List<Integer> goodsIds, String type) {
        return goodsImgMapper.queryList(goodsIds,type);
    }
}
